package model;

public class Temp {
	private String name;
	private final String T = "T";
	private static int currentId = 0;
	
	public Temp(int id){
		this.name = T+id;
	}
	
	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public static int getCurrentId() {
		return currentId;
	}



	public static void setCurrentId(int currentId) {
		Temp.currentId = currentId;
	}



	public static Temp getTemp(){
		return new Temp(currentId++);
	}
}
